package com.lyrcsoft.annotation;

import com.lyrcsoft.LyrcsoftOnClassCondition;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.context.annotation.Conditional;

/**
 * 模拟SpringBoot的ConditionOnClass
 *
 * @author fujc-dev@qq.com
 * @date: 2023年11月01日 13:48
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Conditional(LyrcsoftOnClassCondition.class)
public @interface LyrcsoftConditionOnClass {

    String value();
}
